package cn.xyinping.hrm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 27266
 * @desrciption yml中oss配置对象
 * @date 2021/11/23
 */
@Component
// 读取yml中的配置到一个类中
@ConfigurationProperties(prefix = "file.alicloud")
@Data
public class AlicloudOSSProperties {
    private String bucketName;
    private String accessKey;
    private String secretKey;
    private String endpoint;
}
